<?='<?xml version="1.0" encoding="UTF-8"?>'?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">	
<?php foreach( $this->items as $item ) :?>
	<url>
		<loc><?= $this->domain .( substr($item->loc, 0,1) != '/' ? '/':'') .  $item->loc ?></loc>
		<priority><?=$item->priority?></priority>
	</url>
<?php endforeach;?>

</urlset>
